import Vue from 'vue'
//import Vue from 'vue/dist/vue.esm.js'
import App from './App.vue'
import VueRouter from 'vue-router';
import router from './router/index';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
//安装路由功能
Vue.use(VueRouter);

Vue.config.productionTip = false

//4.创建和挂载根实例
//记得要通过
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
